/* FontManager.css
 *
 * Copyright (C) 2009 - 2020 Jerry Casiano
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.
 *
 * If not, see <http://www.gnu.org/licenses/gpl-3.0.txt>.
*/

treeview {
    padding: 0px 6px 0px 6px;
}

.red {
    margin: 0px;
    padding: 0px;
    background-color: #ff0000;
}

.green {
    margin: 0px;
    padding: 0px;
    background-color: #008000;
}

.blue {
    margin: 0px;
    padding: 0px;
    background-color: #0000ff;
}

.gray {
    margin: 0px;
    padding: 0px;
    background-color: #808080;
}

.rounded-button {
    margin: 2px;
    padding: 0px 18px 0px 18px;
    border-radius: 1.0em;
}

.InlineHelp {
    background: transparent;
}

.HelpBubble {
    margin: 1px;
    border-width: 0px;
    border-style: groove;
    border-radius: 0.75em;
    color: @theme_selected_text_color;
    background-color: alpha(@theme_selected_bg_color, 0.9);
}

.PangoGlyphMetrics {
    color: alpha(@theme_selected_bg_color, 0.250);
}

.PreviewTileCount {
    margin: 0px;
    border-radius: 8px 0px 4px 0px;
    border-width: 0.5px;
    border-style: groove;
    color: darker(@insensitive_fg_color);
    border-color: alpha(darker(@borders), 0.9);
    background-color: alpha(@insensitive_bg_color, 0.5);
}

.CellRendererPill {
    margin: 1px;
    border-width: 1px;
    border-style: groove;
    border-radius: 0.75em;
    color: darker(@insensitive_fg_color);
    border-color: alpha(darker(@insensitive_bg_color), 0.25);
    background-color: alpha(@insensitive_bg_color, 0.5);
}

.PreviewTile {
    border-width: 1px;
    border-style: solid;
    border-radius: 6px;
    color: darker(@insensitive_fg_color);
    border-color: alpha(darker(@borders), 0.333);
    background-color: alpha(@insensitive_bg_color, 0.5);
}

.CellRendererPill:selected {
    color: @theme_selected_fg_color;
    border-color: alpha(lighter(@theme_selected_bg_color), 0.333);
    background-color: darker(@theme_selected_bg_color);
}

.CellRendererTitle {
    margin: 1px;
    border-radius: 0em 1em 1em 0em;
    border-width: 1px;
    border-style: groove;
    color: darker(@insensitive_fg_color);
    border-color: alpha(darker(@borders), 0.333);
    background-color: alpha(@insensitive_bg_color, 0.5);
}

.SensitiveChildLabel > label {
    text-shadow: 1px 1px darker(@selected_theme_bg_color);
    color: lighter(@theme_text_color);
}

#FontManagerSubpixelGeometryIcon {
    border-style: solid;
    border-width: 0.1em;
    border-radius: 0.1em;
    border-color: darker(@borders);
}

#FontManagerBrowseTreeView {
    padding: 4px;
}

#FontManagerCompareTree:selected {
    border-top-left-radius: 0.333em;
    border-top-right-radius: 0.333em;
}

#FontManagerSubstituteList list button {
    border-color: alpha(@borders, 0.75);
}

#FontManagerCompare list row,
#FontManagerComparePreview,
#FontManagerSubstituteList,
#FontManagerSubstituteList list row,
#FontManagerUserActionList row,
#FontManagerUserSourceList row {
    border-radius: 0.333em;
}

#FontManagerCompare list row:selected,
#FontManagerSubstituteList list row:selected,
#FontManagerUserActionList row:selected,
#FontManagerUserSourceList row:selected {
    background-color: alpha(@theme_selected_bg_color, 0.85);
    border-radius: 0.333em;
}

#FontManagerSubstituteList list row:selected button {
    background-color: @theme_bg_color;
    border-radius: 0.333em;
}

#FontManagerSubstituteList row:hover,
#FontManagerSubstituteListRow row:hover,
#FontManagerDesktopPreferences list row:hover {
    background-color: transparent;
}

#FontManagerDesktopPreferences list row {
    padding: 0px;
}

#FontManagerPropertiesPane separator {
    padding: 0px;
    margin: 12px 6px 12px 6px;
}

#FontManagerFontListDragCount {
    border-radius: 50%;
    border-color: alpha(@theme_selected_fg_color, 0.75);
    border-style: solid;
    border-width: 0.5px;
    color: lighter(@theme_selected_fg_color);
    background-color: alpha(@theme_selected_bg_color, 0.85);;
    font-weight: bold;
    font-size: larger;
    padding: 4px;
    min-width: 20px;
    min-height: 20px;
}

#FontManagerComparePreviewLabel {
    background-color: transparent;
}

#FontManagerCategoryExpander title arrow,
#FontManagerCollectionExpander title arrow {
    margin-left: 12px;
    margin-right: 12px;
    margin-top: 6px;
    margin-bottom: 6px;
}

#GoogleFontsLanguageList row:hover {
    background-color: transparent;
}

#GoogleFontsLanguageList row checkbutton check {
    margin-right: 12px;
}
